import * as types from '../types';

const state = {
	time:0
}

const actions = {
	_submit({commit}){
		commit(types.LOADING_STAUS);
	}
}

const getters = {
	time:state=>state.time
}

const mutations = {
	[types.LOADING_STAUS](state){
		console.log(state.time++);
	}
}

export default {
	state,
	actions,
	getters,
	mutations
}